package com.example.aopdemo.controllers;

import com.example.aopdemo.annotation.Log;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @RequestMapping("/test")
    @Log
    public void test() {
        System.out.println("test()：执行中");
    }
}
